/**
 * Created by Liuyak on 2017/11/25.
 */

$(function () {

    // addItem()
});

function addItem() {
    $http({
        method: 'GET',
        url: 'http://live.sch.supadata.cn/ssm/vod/vodList?userId=647771328&schoolId=400050740&page=1&number=10'
    }).then(function successCallback(response) {
        // 请求成功执行代码
        console.log(response.toString);
        
    }, function errorCallback(response) {
        // 请求失败执行代码
        console.log(response.toString);
    });
}